<table class="table table-striped table-bordered table-hover">

    <tr>
        <th width="100" height="40">A&ccedil;&otilde;es</th>
        <th>Nome do Arquivo</th>
        <th width="300">Área de Atuação</th>
        <th width="150">Data/Hora</th>
    </tr>

    <?php

    $res = sql("SELECT doc.doc_id,doc.doc_nome,doc.doc_url,docarea.doc_are_nome,doc.doc_data,doc.doc_hora 
    FROM doc 
    INNER JOIN docarea ON docarea.doc_are_id=doc.doc_are_id 
    WHERE doc.sta_id='1' 
    ORDER BY doc.doc_id");

    while($linha = mysql_fetch_array($res)) {

    ?>

    <tr>
        <td height="40">

            <input name="excluir[]" type="checkbox" value="<?=$linha['doc_id'];?>"/>
            
        </td>
        <td><a href="<?=$SESSION['pro_site'].$linha['doc_url'];?>" target="_blank"><?=$linha['doc_nome'];?></a></td>
        <td><?=$linha['doc_are_nome'];?></td>
        <td><?=todatabr($linha['doc_data'])." - {$linha['doc_hora']} Z";?></td>
    </tr>

    <?
    } 
    ?>
</table>